package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class VUserInfoBase{
	boolean[] modified=new boolean[26];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public VUserInfoBase(){}
	public VUserInfoBase(java.lang.Long userId,java.lang.String username,java.lang.String primaryEmail,java.lang.String password,java.lang.String status,java.lang.String accountState,java.lang.String onlineState,java.lang.String loginToken,java.lang.Boolean tokenExpired,java.util.Date registerTime,java.util.Date lastActiveTime,java.util.Date lastLoginTime,java.util.Date lastLogoutTime,java.lang.Integer totalOnlineMinutes,java.lang.String realName,java.lang.String nicename,java.lang.Long icon,java.lang.String email,java.lang.String description,java.lang.String im,java.lang.String phone,java.lang.String fax,java.lang.String mobile,java.lang.String website,java.lang.String other,java.lang.String privacyPolicy){
		setUserId(userId);
		setUsername(username);
		setPrimaryEmail(primaryEmail);
		setPassword(password);
		setStatus(status);
		setAccountState(accountState);
		setOnlineState(onlineState);
		setLoginToken(loginToken);
		setTokenExpired(tokenExpired);
		setRegisterTime(registerTime);
		setLastActiveTime(lastActiveTime);
		setLastLoginTime(lastLoginTime);
		setLastLogoutTime(lastLogoutTime);
		setTotalOnlineMinutes(totalOnlineMinutes);
		setRealName(realName);
		setNicename(nicename);
		setIcon(icon);
		setEmail(email);
		setDescription(description);
		setIm(im);
		setPhone(phone);
		setFax(fax);
		setMobile(mobile);
		setWebsite(website);
		setOther(other);
		setPrivacyPolicy(privacyPolicy);
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setUsername(java.lang.String username){
		if(username!=null) {
			set("username",username);
			this.modified[1] =true;
		}
	}
	public java.lang.String getUsername(){
		return (java.lang.String)get("username");
	}
	public void setPrimaryEmail(java.lang.String primaryEmail){
		if(primaryEmail!=null) {
			set("primaryEmail",primaryEmail);
			this.modified[2] =true;
		}
	}
	public java.lang.String getPrimaryEmail(){
		return (java.lang.String)get("primaryEmail");
	}
	public void setPassword(java.lang.String password){
		if(password!=null) {
			set("password",password);
			this.modified[3] =true;
		}
	}
	public java.lang.String getPassword(){
		return (java.lang.String)get("password");
	}
	public void setStatus(java.lang.String status){
		if(status!=null) {
			set("status",status);
			this.modified[4] =true;
		}
	}
	public java.lang.String getStatus(){
		return (java.lang.String)get("status");
	}
	public void setAccountState(java.lang.String accountState){
		if(accountState!=null) {
			set("accountState",accountState);
			this.modified[5] =true;
		}
	}
	public java.lang.String getAccountState(){
		return (java.lang.String)get("accountState");
	}
	public void setOnlineState(java.lang.String onlineState){
		if(onlineState!=null) {
			set("onlineState",onlineState);
			this.modified[6] =true;
		}
	}
	public java.lang.String getOnlineState(){
		return (java.lang.String)get("onlineState");
	}
	public void setLoginToken(java.lang.String loginToken){
		if(loginToken!=null) {
			set("loginToken",loginToken);
			this.modified[7] =true;
		}
	}
	public java.lang.String getLoginToken(){
		return (java.lang.String)get("loginToken");
	}
	public void setTokenExpired(java.lang.Boolean tokenExpired){
		if(tokenExpired!=null) {
			set("tokenExpired",tokenExpired);
			this.modified[8] =true;
		}
	}
	public java.lang.Boolean getTokenExpired(){
		return (java.lang.Boolean)get("tokenExpired");
	}
	public void setRegisterTime(java.util.Date registerTime){
		if(registerTime!=null) {
			set("registerTime",registerTime);
			this.modified[9] =true;
		}
	}
	public java.util.Date getRegisterTime(){
		return (java.util.Date)get("registerTime");
	}
	public void setLastActiveTime(java.util.Date lastActiveTime){
		if(lastActiveTime!=null) {
			set("lastActiveTime",lastActiveTime);
			this.modified[10] =true;
		}
	}
	public java.util.Date getLastActiveTime(){
		return (java.util.Date)get("lastActiveTime");
	}
	public void setLastLoginTime(java.util.Date lastLoginTime){
		if(lastLoginTime!=null) {
			set("lastLoginTime",lastLoginTime);
			this.modified[11] =true;
		}
	}
	public java.util.Date getLastLoginTime(){
		return (java.util.Date)get("lastLoginTime");
	}
	public void setLastLogoutTime(java.util.Date lastLogoutTime){
		if(lastLogoutTime!=null) {
			set("lastLogoutTime",lastLogoutTime);
			this.modified[12] =true;
		}
	}
	public java.util.Date getLastLogoutTime(){
		return (java.util.Date)get("lastLogoutTime");
	}
	public void setTotalOnlineMinutes(java.lang.Integer totalOnlineMinutes){
		if(totalOnlineMinutes!=null) {
			set("totalOnlineMinutes",totalOnlineMinutes);
			this.modified[13] =true;
		}
	}
	public java.lang.Integer getTotalOnlineMinutes(){
		return (java.lang.Integer)get("totalOnlineMinutes");
	}
	public void setRealName(java.lang.String realName){
		if(realName!=null) {
			set("realName",realName);
			this.modified[14] =true;
		}
	}
	public java.lang.String getRealName(){
		return (java.lang.String)get("realName");
	}
	public void setNicename(java.lang.String nicename){
		if(nicename!=null) {
			set("nicename",nicename);
			this.modified[15] =true;
		}
	}
	public java.lang.String getNicename(){
		return (java.lang.String)get("nicename");
	}
	public void setIcon(java.lang.Long icon){
		if(icon!=null) {
			set("icon",icon);
			this.modified[16] =true;
		}
	}
	public java.lang.Long getIcon(){
		return (java.lang.Long)get("icon");
	}
	public void setEmail(java.lang.String email){
		if(email!=null) {
			set("email",email);
			this.modified[17] =true;
		}
	}
	public java.lang.String getEmail(){
		return (java.lang.String)get("email");
	}
	public void setDescription(java.lang.String description){
		if(description!=null) {
			set("description",description);
			this.modified[18] =true;
		}
	}
	public java.lang.String getDescription(){
		return (java.lang.String)get("description");
	}
	public void setIm(java.lang.String im){
		if(im!=null) {
			set("im",im);
			this.modified[19] =true;
		}
	}
	public java.lang.String getIm(){
		return (java.lang.String)get("im");
	}
	public void setPhone(java.lang.String phone){
		if(phone!=null) {
			set("phone",phone);
			this.modified[20] =true;
		}
	}
	public java.lang.String getPhone(){
		return (java.lang.String)get("phone");
	}
	public void setFax(java.lang.String fax){
		if(fax!=null) {
			set("fax",fax);
			this.modified[21] =true;
		}
	}
	public java.lang.String getFax(){
		return (java.lang.String)get("fax");
	}
	public void setMobile(java.lang.String mobile){
		if(mobile!=null) {
			set("mobile",mobile);
			this.modified[22] =true;
		}
	}
	public java.lang.String getMobile(){
		return (java.lang.String)get("mobile");
	}
	public void setWebsite(java.lang.String website){
		if(website!=null) {
			set("website",website);
			this.modified[23] =true;
		}
	}
	public java.lang.String getWebsite(){
		return (java.lang.String)get("website");
	}
	public void setOther(java.lang.String other){
		if(other!=null) {
			set("other",other);
			this.modified[24] =true;
		}
	}
	public java.lang.String getOther(){
		return (java.lang.String)get("other");
	}
	public void setPrivacyPolicy(java.lang.String privacyPolicy){
		if(privacyPolicy!=null) {
			set("privacyPolicy",privacyPolicy);
			this.modified[25] =true;
		}
	}
	public java.lang.String getPrivacyPolicy(){
		return (java.lang.String)get("privacyPolicy");
	}
}
